GDK W32: Fix shown window position calculation for dialogs and splashes
authorРуслан Ижбулатов <lrn1986@gmail.com>
Mon, 14 Mar 2016 16:14:22 +0000 (16:14 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Mon, 14 Mar 2016 16:31:14 +0000 (16:31 +0000)
commit5ac848d2297d5afc20315cb6c461aeedf0fd6b8a
tree59307c72419a8f35f4c474aa226f5890ce94b1f6
parentbbced9a0cf3b7e8690cfb6ff4debf46d7c47e54d
GDK W32: Fix shown window position calculation for dialogs and splashes

Two errors here:
1) A typo in splashscreen rectangle calculation - sets right twice
   instead of setting top
2) Centering for dialogs is off because it doesn't convert
   GDK virtual desktop coordinates to Windows WM virtual desktop
   coordinates by adding _gdk_offset_*

https://bugzilla.gnome.org/show_bug.cgi?id=763628
gdk/win32/gdkwindow-win32.c